package edu.sias.user.service;


import edu.sias.user.entity.dto.SessionWebUserDto;
import edu.sias.user.entity.po.UserInfo;


public interface UserInfoService {
    UserInfo getUserInfoByEmail(String email);
    //手机注册
    UserInfo register1(String phone, String password, String code);
    //邮箱注册
    void register(String email, String password,String emailCode);

    UserInfo getUserInfoByPhone(String phone);

    SessionWebUserDto login(String email, String password);
}
